<!DOCTYPE html>
<html xmlns="http://www.w3.org/1999/xhtml" xmlns:th="http://www.thymeleaf.org">
<head>
    <meta charset="utf-8">
    <title th:text="${myinfo.webname}"></title>
    <meta name="renderer" content="webkit">
    <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
    <meta http-equiv="Access-Control-Allow-Origin" content="*">
    <meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1">
    <meta name="apple-mobile-web-app-status-bar-style" content="black">
    <meta name="apple-mobile-web-app-capable" content="yes">
    <meta name="format-detection" content="telephone=no">
    <link rel="icon" th:href="'/style/images/'+${myinfo.webicon}">
    <link rel="stylesheet" href="/dist/layui/css/layui.css" media="all"/>
    <link rel="stylesheet" href="/style/css/index.css" media="all"/>
</head>
<style type="text/css">
    .layui-table {
        margin: 20px;
        width: 50% !important;
    }
</style>
<body class="childrenBody">
<form class="layui-form" id="submitForm">
    <table class="layui-table mag0">
        <colgroup>
            <col width="25%">
            <col width="45%">
            <col>
        </colgroup>
        <thead>
        <tr>
            <th>参数说明</th>
            <th>参数值</th>
            <th pc>变量名</th>
        </tr>
        </thead>
        <tbody>

        <tr class="hidden">
            <td>网站编号</td>
            <td><input type="text" class="layui-input" name="id" lay-verify="required" readonly placeholder="请输入网站名称"
                       th:value="${myinfo.getId()}"></td>
            <td pc>ID</td>
        </tr>
        <tr>
            <td>网站名称</td>
            <td><input type="text" class="layui-input" name="webname" lay-verify="required" placeholder="请输入网站名称"
                       th:value="${myinfo.getWebname()}"></td>
            <td pc>WEBNAME</td>
        </tr>

        <tr>
            <td>网站LOGO</td>
            <td>
                <input type="radio" value="brand.jpg" name="brandimg" lay-skin="primary" lay-filter="type"
                       th:attr="checked=${myinfo.getBrandimg() == 'brand.jpg'?true:false}">
                <img class="layui-circle" style="width: 32px;" src="/style/images/system/brand.jpg"></input><br/>

                <input type="radio" value="brand2.jpg" name="brandimg" lay-skin="primary" lay-filter="type"
                       th:attr="checked=${myinfo.getBrandimg() == 'brand2.jpg'?true:false}">
                <img class="layui-circle" style="width: 32px;" src="/style/images/system/brand2.jpg"></input><br/>

            </td>
            <td pc>BRANDIMG</td>
        </tr>



        <tr>
            <td>开发作者</td>
            <td><input type="text" class="layui-input" name="name" lay-verify="required" placeholder="请输入开发作者姓名"
                       th:value="${myinfo.getName()}"></td>
            <td pc>NAME</td>
        </tr>
        <tr>
            <td>站长昵称</td>
            <td><input type="text" class="layui-input" name="nickname" lay-verify="required" placeholder="请输入站长昵称"
                       th:value="${myinfo.getNickname()}"></td>
            <td pc>NICKNAME</td>
        </tr>
        <tr>
            <td>站长头像</td>
            <td>
                <input type="radio" value="avatar.jpg" name="Prophoto" lay-skin="primary" lay-filter="type"
                       th:attr="checked=${myinfo.getProphoto() == 'avatar.jpg'?true:false}">
                <img class="layui-circle" style="width: 32px;" src="/style/images/system/avatar.jpg"></input><br/>

                <input type="radio" value="avatar2.jpg" name="Prophoto" lay-skin="primary" lay-filter="type"
                       th:attr="checked=${myinfo.getProphoto() == 'avatar2.jpg'?true:false}">
                <img class="layui-circle" style="width: 32px;" src="/style/images/system/avatar2.jpg"></input><br/>

                <input type="radio" value="avatar3.jpg" name="Prophoto" lay-skin="primary" lay-filter="type"
                       th:attr="checked=${myinfo.getProphoto() == 'avatar3.jpg'?true:false}">
                    <img class="layui-circle" style="width: 32px;" src="/style/images/system/avatar3.jpg"></input><br/>

                <input type="radio" value="avatar4.jpg" name="Prophoto" lay-skin="primary" lay-filter="type"
                       th:attr="checked=${myinfo.getProphoto() == 'avatar4.jpg'?true:false}">
                    <img class="layui-circle" style="width: 32px;" src="/style/images/system/avatar4.jpg"></input><br/>

            </td>
            <td pc>PROPHOTO</td>
        </tr>
        <tr>
            <td>职业</td>
            <td><input type="text" class="layui-input" name="occupation" lay-verify="required" placeholder="请输入职业名称"
                       th:value="${myinfo.getOccupation()}"></td>
            <td pc>OCCUPATION</td>
        </tr>
        <tr>
            <td>网站首页</td>
            <td><input type="text" class="layui-input" name="website" lay-verify="required" placeholder="请输入网站首页"
                       th:value="${myinfo.getWebsite()}"></td>
            <td pc>WEBSITE</td>
        </tr>

        <tr>
            <td>地址</td>
            <td><input type="text" class="layui-input" name="address" lay-verify="required" placeholder="请输入地址"
                       th:value="${myinfo.getAddress()}"></td>
            <td pc>ADDRESS</td>
        </tr>
        <tr>
            <td>Email</td>
            <td><input type="text" class="layui-input" name="email" lay-verify="email" placeholder="请输入邮箱"
                       th:value="${myinfo.getEmail()}"></td>
            <td pc>EMAIL</td>
        </tr>
        <tr>
            <td>QQ号码</td>
            <td><input type="text" class="layui-input" name="qq" lay-verify="required" placeholder="请输入QQ号码"
                       th:value="${myinfo.getQq()}"></td>
            <td pc>QQ</td>
        </tr>
        <tr>
            <td>微信号</td>
            <td><input type="text" class="layui-input" name="wechat" lay-verify="required" placeholder="请输入QQ号码"
                       th:value="${myinfo.getWechat()}"></td>
            <td pc>WECHAT</td>
        </tr>
        <tr>
            <td>微博</td>
            <td><input type="text" class="layui-input" name="weibo" lay-verify="required" placeholder="请输入QQ号码"
                       th:value="${myinfo.getWeibo()}"></td>
            <td pc>WEBICON</td>
        </tr>
        <tr>
            <td>GITEE</td>
            <td><input type="text" class="layui-input" name="gitee" lay-verify="required" placeholder="请输入gitee地址"
                       th:value="${myinfo.getGitee()}"></td>
            <td pc>GITEE</td>
        </tr>
        <tr>
            <td>GITHUB</td>
            <td><input type="text" class="layui-input" name="github" lay-verify="required" placeholder="请输入github地址"
                       th:value="${myinfo.getGithub()}"></td>
            <td pc>GITHUB</td>
        </tr>
       <!-- <tr>
            <td>网站图标</td>
            <td><input type="text" class="layui-input" name="webicon" lay-verify="required"
                       placeholder="请输入网站图标(/style/images/system下选择)"
                       th:value="${myinfo.getWebicon()}"></td>
            <td pc>WEBICON</td>
        </tr>
-->
        <tr>
            <td>网站图标</td>
            <td>
                <input type="radio" value="favicon.ico" name="webicon" lay-skin="primary" lay-filter="type"
                       th:attr="checked=${myinfo.getWebicon() == 'favicon.ico'?true:false}">
                <img class="layui-circle" style="width: 32px;" src="/style/images/system/favicon.ico">favicon.ico</input><br/>

                <input type="radio" value="favicon2.ico" name="webicon" lay-skin="primary" lay-filter="type"
                       th:attr="checked=${myinfo.getWebicon() == 'favicon2.ico'?true:false}">
                <img class="layui-circle" style="width: 32px;" src="/style/images/system/favicon2.ico">favicon2.ico</input><br/>

                <input type="radio" value="favicon3.ico" name="webicon" lay-skin="primary" lay-filter="type"
                       th:attr="checked=${myinfo.getWebicon() == 'favicon3.ico'?true:false}">
                <img class="layui-circle" style="width: 32px;" src="/style/images/system/favicon3.ico">favicon3.ico</input><br/>

            </td>
            <td pc>WEBICON</td>
        </tr>


        <tr>
            <td>座右铭</td>
            <td><textarea name="motto" placeholder="请输入网站座右铭" class="layui-textarea description"
                          th:text="${myinfo.getMotto()}"></textarea></td>
            <td pc>MOTTO</td>
        </tr>


        <tr>
            <td>网站备案号</td>
            <td><input type="text" class="layui-input" name="record" placeholder="请输入网站备案号" th:value="${myinfo.getRecord()}">
            </td>
            <td pc>RECORD</td>
        </tr>
        </tbody>
    </table>
    <div class="magt10 layui-right">
        <div class="layui-input-block">
            <button class="layui-btn" lay-submit="" lay-filter="addConfig">立即提交</button>
            <button type="reset" class="layui-btn layui-btn-primary">重置</button>
        </div>
    </div>
</form>
<script type="text/javascript" src="/dist/layui/layui.js"></script>
<script type="text/javascript" src="/manage/myinfo/myinfo.js"></script>

</body>
</html>